package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class M2AutoRelay implements Trans<M2AutoRelay, CompleteEntity.M2AutoRelay> {

    /**
     * 是否自动控制继电器
     */
    private Boolean enable;

    /**
     * 继电器编号，1~3
     */
    private Integer relay;

    /**
     * 使用板载/外接湿度标识
     */
    private Boolean isHumitureOnBoard;

    /**
     * 使用板载/外接温度标识
     */
    private Boolean isTemperatureOnBoard;

    /**
     * 湿度限制开关
     */
    private Boolean humidityLimitEnable;

    /**
     * 温度限制开关
     */
    private Boolean temperatureLimitEnable;

    /**
     * 湿度阈值，0~100
     */
    private Integer humidityLimitValue;

    /**
     * 温度阈值
     */
    private Integer temperatureLimitValue;

    /**
     * 烟雾限制开关
     */
    private Boolean smokeLimitEnable;

    /**
     * 烟雾阈值
     */
    private Integer smokeLimitValue;
}

